//
//  AddCustomerCell.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/7/22.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "AddCustomerCell.h"
#import <UIImageView+WebCache.h>

@interface AddCustomerCell ()

@property (weak, nonatomic) IBOutlet UIImageView *avaImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLab;
@property (weak, nonatomic) IBOutlet UILabel *tellLab;


@end

@implementation AddCustomerCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(AdderInfoModel *)model
{
    _model = model;
    if (!model) return;
    [self.avaImageView sd_setImageWithURL:[NSURL URLWithString:model.headImage] placeholderImage:GetImage(@"person_avatar")];
    self.nameLab.text = model.registrationName;
    self.tellLab.text = model.registrationPhone;
}

@end
